package com.liukai.exam.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 每个试卷的大题有哪些，存放第几大题的题目类型
 * </p>
 *
 * @author liu kai
 * @since 2021-02-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BIG_QUESTION")
@ApiModel(value="BigQuestion对象", description="每个试卷的大题有哪些，存放第几大题的题目类型")
public class BigQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "试卷编号")
        @TableId(value = "EXAM_ID", type = IdType.ID_WORKER)
    private Long examId;

        @ApiModelProperty(value = "试卷每个答题问题类型（选择、判断）")
        @TableField("BIG_QUESTION_NAME")
    private String bigQuestionName;

        @ApiModelProperty(value = "大题编号（一，二，三。。。）")
        @TableField("BIG_QUESTION_INDEX")
    private Integer bigQuestionIndex;


}
